com.supermap.plot

Class AnimationWay



  • public class AnimationWay
    extends AnimationGO
    Path animation
    • Constructor Detail

      • AnimationWay

        public AnimationWay()
    • Method Detail

      • setPathType

        public void setPathType(AnimationDefine.PathType pathType)
        Sets path types
        Parameters:
        pathType - path types
      • addPathPt

        public boolean addPathPt(Point3D vecPath)
        Adds path points
        Parameters:
        vecPath - path points
        Returns:
        whether the adding is successful.
      • addPathPts

        public boolean addPathPts(Point3Ds pts3D)
        Adds path point groups
        Parameters:
        pts3D - path point groups
        Returns:
        whether the adding is successful.
      • insertPathPt

        public boolean insertPathPt(int index,
                                    Point3D vecPath)
        Inserts path points
        Parameters:
        index - Inserted position
        vecPath - path points
        Returns:
        whether the inserting is successful.
      • setPathPt

        public boolean setPathPt(int index,
                                 Point3D vecPath)
        Sets the path point with specified sequence number
        Parameters:
        index - the sequence number
        vecPath - path points
        Returns:
        whether succeed
      • removePathPtAt

        public boolean removePathPtAt(int index)
        Removes the path point with specified sequence number
        Parameters:
        index - the sequence number
        Returns:
        removal was successful.
      • getPathPtCount

        public int getPathPtCount()
        Gets the number of path points
        Returns:
        Number
      • removeAllPathPt

        public void removeAllPathPt()
        Removes all path points
      • showPathTrack

        public void showPathTrack(boolean bShowPathTrack)
        Sets whether to display paths.
        Parameters:
        bShowPathTrack - display paths
      • isShowPathTrack

        public boolean isShowPathTrack()
        Sets whether to display paths.
        Returns:
        Display paths.
      • setPathTrackDir

        public void setPathTrackDir(boolean bPathTrack)
        Whether to set the tangential line direction
        Parameters:
        bPathTrack - the tangential line direction
      • getPathTrackDir

        public boolean getPathTrackDir()
        Gets whether to set the tangential line direction
        Returns:
        the tangential line direction
      • setTrackLineWidth

        public void setTrackLineWidth(java.lang.Double width)
        Sets the width of path line
        Parameters:
        width - the width of path line
      • getTrackLineWidth

        public double getTrackLineWidth()
        Gets the width of path line
        Returns:
        the width of path line
      • setTrackLineColor

        public void setTrackLineColor(Color nColor)
        Sets the color of path line
        Parameters:
        nColor - the color of path line
      • getTrackLineColor

        public Color getTrackLineColor()
        Gets the color of path line
        Returns:
        the color of path line
      • getAllPathPt

        public Point3Ds getAllPathPt()
        Gets all path points
        Returns:
        the group of path points